<?

class JCAT_GtkGlade_81d7f12decc53682e4b955f16cc0f0e9
{



	static public function Create_window1( $aUI=null )
	{


		$window1 = new GtkWindow() ;

		$vbox1 = self::GetWidget('vbox1') ;
		$window1->add($vbox1) ;

		$window1->set_visible( true ) ;

		$aTip = new GtkTooltips();
		$aTip->set_tip( $window1, "<>www", "" );

		$window1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;
		$window1->set_extension_events( Gdk::EXTENSION_EVENTS_ALL ) ;
		$window1->connect_simple( 'destroy', array('Gtk','main_quit') ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('window1',$window1) ;
		
		return $window1 ;
	}



	static public function Create_vbox1( $aUI=null )
	{


		$vbox1 = new GtkVBox() ;
		$vbox1->set_homogeneous(false) ;
		$vbox1->set_spacing(0) ;

		$button1 = self::GetWidget('button1') ;
		$vbox1->pack_start( $button1, false, false, 0 ) ;


		$table1 = self::GetWidget('table1') ;
		$vbox1->pack_start( $table1, false, false, 0 ) ;


		$hbuttonbox1 = self::GetWidget('hbuttonbox1') ;
		$vbox1->pack_start( $hbuttonbox1, false, false, 0 ) ;

		$vbox1->set_visible( true ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('vbox1',$vbox1) ;
		
		return $vbox1 ;
	}



	static public function Create_button1( $aUI=null )
	{


		$button1 = new GtkButton() ;
		$button1->set_relief( Gtk::RELIEF_HALF ) ;
		$button1->set_focus_on_click( false ) ;
		$button1->set_alignment( 0.600000023842, 0.5 ) ;

		$entry1 = self::GetWidget('entry1') ;
		$button1->add($entry1) ;

		$button1->set_visible( true ) ;
		$button1->connect_simple( 'activate', 'OnVVV' ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('button1',$button1) ;
		
		return $button1 ;
	}



	static public function Create_entry1( $aUI=null )
	{


		$entry1 = new GtkEntry() ;
		$entry1->set_editable(false) ;
		$entry1->set_max_length(10) ;
		$entry1->set_activates_default(true) ;
		$entry1->set_width_chars(2) ;
		$entry1->set_text("dddd") ;
		$entry1->set_alignment("0.10000000149011612") ;
		$entry1->set_visible( true ) ;
		$entry1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('entry1',$entry1) ;
		
		return $entry1 ;
	}



	static public function Create_table1( $aUI=null )
	{


		$table1 = new GtkTable( 3, 4, false ) ;
		$table1->set_col_spacings( 10 ) ;

		$scrolledwindow1 = self::GetWidget('scrolledwindow1') ;
		$table1->attach($scrolledwindow1,
						0,3,2,3,
						Gtk::EXPAND | Gtk::FILL,Gtk::EXPAND | Gtk::FILL, 0,1) ;

		$comboboxentry1 = self::GetWidget('comboboxentry1') ;
		$table1->attach($comboboxentry1,
						3,4,1,2,
						Gtk::EXPAND | Gtk::FILL,Gtk::EXPAND | Gtk::FILL, 0,1) ;

		$combobox1 = self::GetWidget('combobox1') ;
		$table1->attach($combobox1,
						2,3,1,2,
						Gtk::EXPAND | Gtk::FILL,Gtk::EXPAND | Gtk::FILL, 0,1) ;

		$button2 = self::GetWidget('button2') ;
		$table1->attach($button2,
						1,2,1,2,
						Gtk::EXPAND | Gtk::SHRINK | Gtk::FILL,Gtk::EXPAND | Gtk::FILL, 2,1) ;

		$togglebutton1 = self::GetWidget('togglebutton1') ;
		$table1->attach($togglebutton1,
						0,1,0,1,
						Gtk::EXPAND | Gtk::FILL,Gtk::EXPAND | Gtk::FILL, 0,1) ;

		$checkbutton1 = self::GetWidget('checkbutton1') ;
		$table1->attach($checkbutton1,
						1,2,0,1,
						Gtk::EXPAND | Gtk::FILL,Gtk::EXPAND | Gtk::FILL, 0,1) ;

		$radiobutton1 = self::GetWidget('radiobutton1') ;
		$table1->attach($radiobutton1,
						2,3,0,1,
						Gtk::EXPAND | Gtk::FILL,Gtk::EXPAND | Gtk::FILL, 0,1) ;

		$radiobutton2 = self::GetWidget('radiobutton2') ;
		$table1->attach($radiobutton2,
						3,4,0,1,
						Gtk::EXPAND | Gtk::FILL,Gtk::EXPAND | Gtk::FILL, 0,1) ;

		$button4 = self::GetWidget('button4') ;
		$table1->attach($button4,
						0,1,1,2,
						Gtk::EXPAND | Gtk::FILL,Gtk::EXPAND | Gtk::FILL, 0,1) ;
		$table1->set_visible( true ) ;
		$table1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('table1',$table1) ;
		
		return $table1 ;
	}



	static public function Create_scrolledwindow1( $aUI=null )
	{


		$scrolledwindow1 = new GtkScrolledWindow() ;
		$scrolledwindow1->set_policy(Gtk::POLICY_AUTOMATIC,Gtk::POLICY_AUTOMATIC) ;
		$scrolledwindow1->set_placement(Gtk::CORNER_BOTTOM_LEFT) ;
		$scrolledwindow1->set_shadow_type(Gtk::SHADOW_OUT) ;

		$textview1 = self::GetWidget('textview1') ;
		$scrolledwindow1->add_with_viewport($textview1) ;
		$scrolledwindow1->set_visible( true ) ;
		$scrolledwindow1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('scrolledwindow1',$scrolledwindow1) ;
		
		return $scrolledwindow1 ;
	}



	static public function Create_textview1( $aUI=null )
	{


		$textview1 = new GtkTextView() ;
		$aTextBuffer = new GtkTextBuffer() ;
		$textview1->set_buffer($aTextBuffer) ;
		$textview1->set_left_margin(2);
		$textview1->set_right_margin(3);
		$textview1->set_indent(4);
		$aTextBuffer->set_text("xxxx") ;
		$textview1->set_visible( true ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('textview1',$textview1) ;
		
		return $textview1 ;
	}



	static public function Create_comboboxentry1( $aUI=null )
	{


		$comboboxentry1 = new GtkComboBoxEntry() ;

		$aListStore = new GtkListStore(JCAT_Gtk_TYPE_STRING) ;
		$comboboxentry1->set_model($aListStore) ;
		$aListStore->append(array("qqq")); ;
		$aListStore->append(array("ddd")); ;
		$aListStore->append(array("fff")); ;
		$aListStore->append(array("ggg")); ;
		$comboboxentry1->set_wrap_width(1); ;
		$comboboxentry1->set_text_column(0); ;

		$comboboxentry_entry1 = self::GetWidget('comboboxentry-entry1') ;
		$comboboxentry1->set_visible( true ) ;
		$comboboxentry1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('comboboxentry1',$comboboxentry1) ;
		
		return $comboboxentry1 ;
	}



	static public function Create_comboboxentry_entry1( $aUI=null )
	{


		$comboboxentry_entry1 = new GtkEntry() ;
		$comboboxentry_entry1->set_visible( true ) ;
		$comboboxentry_entry1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('comboboxentry-entry1',$comboboxentry_entry1) ;
		
		return $comboboxentry_entry1 ;
	}



	static public function Create_combobox1( $aUI=null )
	{


		$combobox1 = new GtkComboBox() ;

		$aListStore = new GtkListStore(JCAT_Gtk_TYPE_STRING) ;
		$combobox1->set_model($aListStore) ;

		$aCellRenderer = new GtkCellRendererText() ;
		$combobox1->pack_start($aCellRenderer) ;
		$combobox1->set_attributes($aCellRenderer,'text',0) ;
		$aListStore->append(array("xxx")); ;
		$aListStore->append(array("ddd")); ;
		$aListStore->append(array("aaa")); ;
		$aListStore->append(array("vvv")); ;
		$aListStore->append(array("bbb")); ;
		if( $aListStore->get_n_columns()>0 )
			$combobox1->set_active(0); ;
		$combobox1->set_add_tearoffs(true) ;
		$combobox1->set_focus_on_click(false) ;
		$combobox1->set_visible( true ) ;
		$combobox1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('combobox1',$combobox1) ;
		
		return $combobox1 ;
	}



	static public function Create_button2( $aUI=null )
	{


		$button2 = new GtkButton() ;
		$button2->set_label('button') ;
		$button2->set_visible( true ) ;
		$button2->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('button2',$button2) ;
		
		return $button2 ;
	}



	static public function Create_togglebutton1( $aUI=null )
	{


		$togglebutton1 = new GtkToggleButton() ;
		$togglebutton1->set_label('togglebutton') ;
		$togglebutton1->set_inconsistent(true) ;
		$togglebutton1->set_mode(false) ;
		$togglebutton1->set_visible( true ) ;
		$togglebutton1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('togglebutton1',$togglebutton1) ;
		
		return $togglebutton1 ;
	}



	static public function Create_checkbutton1( $aUI=null )
	{


		$checkbutton1 = new GtkCheckButton() ;

		$checkbutton1->set_active(true) ;
		$checkbutton1->set_mode(false) ;
		$checkbutton1->set_visible( true ) ;
		$checkbutton1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('checkbutton1',$checkbutton1) ;
		
		return $checkbutton1 ;
	}



	static public function Create_radiobutton1( $aUI=null )
	{


		$radiobutton1 = new GtkRadioButton() ;
		$radiobutton1->set_label('radiobutton') ;

		$radiobutton1->set_active(true) ;
		$radiobutton1->set_mode(false) ;
		$radiobutton1->set_visible( true ) ;
		$radiobutton1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('radiobutton1',$radiobutton1) ;
		
		return $radiobutton1 ;
	}



	static public function Create_radiobutton2( $aUI=null )
	{


		$radiobutton2 = new GtkRadioButton() ;
		$radiobutton2->set_label('radiobutton') ;

		$radiobutton2->set_active(true) ;
		$radiobutton2->set_mode(true) ;

		$radiobutton2->set_group( self::GetWidget('radiobutton1') ) ;
		$radiobutton2->set_visible( true ) ;
		$radiobutton2->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('radiobutton2',$radiobutton2) ;
		
		return $radiobutton2 ;
	}



	static public function Create_button4( $aUI=null )
	{


		$button4 = new GtkButton() ;
		$button4->set_visible( true ) ;
		$button4->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('button4',$button4) ;
		
		return $button4 ;
	}



	static public function Create_hbuttonbox1( $aUI=null )
	{


		$hbuttonbox1 = new GtkHButtonBox() ;
		$hbuttonbox1->set_homogeneous(false) ;
		$hbuttonbox1->set_spacing(0) ;
		$hbuttonbox1->set_layout(Gtk::BUTTONBOX_END) ;

		$label1 = self::GetWidget('label1') ;
		$hbuttonbox1->pack_start( $label1, false, false, 0 ) ;


		$button3 = self::GetWidget('button3') ;
		$hbuttonbox1->pack_start( $button3, false, false, 0 ) ;

		$hbuttonbox1->set_visible( true ) ;
		$hbuttonbox1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('hbuttonbox1',$hbuttonbox1) ;
		
		return $hbuttonbox1 ;
	}



	static public function Create_label1( $aUI=null )
	{


		$label1 = new GtkLabel() ;

		$label1->set_label("label") ;
		$label1->set_justify(Gtk::JUSTIFY_CENTER) ;
		$label1->set_line_wrap(true) ;
		$label1->set_selectable(true) ;
		$label1->set_ellipsize( Pango::ELLIPSIZE_MIDDLE ) ;
		$label1->set_width_chars( 1 ) ;
		$label1->set_single_line_mode(true) ;
		$label1->set_angle( 0.5*360 ) ;
		$label1->set_max_width_chars( 10 ) ;
		$label1->set_alignment( 0.60000002384185791, 0.60000002384185791 ) ;
		$label1->set_padding( 3, 4 ) ;		$label1->set_visible( true ) ;
		$label1->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('label1',$label1) ;
		
		return $label1 ;
	}



	static public function Create_button3( $aUI=null )
	{


		$button3 = new GtkButton() ;
		$button3->set_label('quit') ;
		$button3->set_visible( true ) ;
		$button3->set_events( Gdk::POINTER_MOTION_MASK | Gdk::POINTER_MOTION_HINT_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK ) ;
		$button3->connect_simple( 'clicked', array('Gtk','main_quit') ) ;

		
		if( $aUI and get_class($aUI)==='JCAT_UIGtkGlade' )
			$aUI->_SetWidgetForVariable('button3',$button3) ;
		
		return $button3 ;
	}




	static public function GetWidget($sID)
	{
		if( class_exists('JCAT_UIGtkGlade') )
			$sID = JCAT_UIGtkGlade::GetWidgetVariableName($sID) ;
		else
			$sID = str_replace('-','_',$sID) ;
		
		if( !isset(self::$arrWidgets[$sID]) )
			self::$arrWidgets[$sID] = call_user_func( array(__CLASS__,"Create_{$sID}") ) ;

		return self::$arrWidgets[$sID] ;
	}
	
	static private $arrWidgets = array() ;
}

?>